package com.ylr.admin.common.vo.role.uri;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-05-11 15:38:36
 * className: RoleUriVo
 * version: 1.0
 * description:
 */
@Getter
@Setter
@ToString
public class RoleUriVo {

    /**
     * 角色主键列表
     */
    @NotNull(message = "角色主键列表不能为空")
    @Size(min = 1, message = "角色主键列表元素不能为空")
    private List<Long> roleIdList;

    /**
     * 系统接口主键列表
     */
    @NotNull(message = "系统接口主键列表不能为空")
    @Size(min = 1, message = "系统接口主键列表元素不能为空")
    private List<Long> uriIdList;

}
